package com.ll.admin.action;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//采购供应管理
@Controller
@RequestMapping("pages/front/business/*")
public class PurchaseAction {
    //供应商信息
    @RequiresPermissions("purchase:supplier")
    @RequestMapping("suppliersList")
    public String suppliersList() {
        return "front/business/suppliers_list" ;
    }
    //商品信息
    @RequiresPermissions("purchase:goods")
    @RequestMapping("suppliersProductList")
    public String suppliersProductList() {
        return "front/business/suppliers_product_list" ;
    }
    //采购单
    @RequiresPermissions("purchase:purchaseOrder")
    @RequestMapping("suppliersOrderList")
    public String suppliersOrderList () {
        return "front/business/suppliers_order_list" ;
    }
    //问题信息
    @RequiresPermissions("purchase:problem")
    @RequestMapping("suppliersQaList")
    public String suppliersQaList() {
        return "front/business/suppliers_qa_list" ;
    }

}
